package user;

public class UserInfo {
    private String userId;
    private String userPwd;

    public UserInfo(String userId, String userPwd) {
        this.userId = userId;
        this.userPwd = userPwd;
    }

    public boolean equals(UserInfo userInfo) {
        return this.userId.equals(userInfo.userId) && this.userPwd.equals(userInfo.userPwd);
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }
}